package org.ibase4j.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王杨帅
 * @since 2018-04-17
 */
@TableName("manu_em_check_record")
public class ManuEmCheckRecord extends Model<ManuEmCheckRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
	@TableId(value="id_", type= IdType.AUTO)
	private Long id;
    /**
     * 设备点检记录编码
     */
	@TableField("ecr_code")
	private String ecrCode;
    /**
     * 点检设备编码
     */
	@TableField("ei_code")
	private String eiCode;
    /**
     * 点检职员编码
     */
	@TableField("ci_code")
	private String ciCode;
    /**
     * 点检职员姓名
     */
	@TableField("ci_name")
	private String ciName;
    /**
     * 点检结果：0正常 1故障 2报废 3待报废 4停用 5未使用 6待检
     */
	@TableField("ecr_result")
	private Integer ecrResult;
    /**
     * 点检后是否可作业：1可接收作业 0不可接收作业
     */
	@TableField("ecr_work")
	private Integer ecrWork;
    /**
     * 点检日期
     */
	@TableField("ecr_date")
	private Date ecrDate;
    /**
     * 记录状态：0无效，1有效
     */
	@TableField("enable_")
	private Integer enable;
    /**
     * 备注信息
     */
	@TableField("remark_")
	private String remark;
    /**
     * 点检记录创建者
     */
	@TableField("create_by")
	private Long createBy;
    /**
     * 点检记录创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 点检记录更新者
     */
	@TableField("update_by")
	private Long updateBy;
    /**
     * 点检记录更新时间
     */
	@TableField("update_time")
	private Date updateTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEcrCode() {
		return ecrCode;
	}

	public void setEcrCode(String ecrCode) {
		this.ecrCode = ecrCode;
	}

	public String getEiCode() {
		return eiCode;
	}

	public void setEiCode(String eiCode) {
		this.eiCode = eiCode;
	}

	public String getCiCode() {
		return ciCode;
	}

	public void setCiCode(String ciCode) {
		this.ciCode = ciCode;
	}

	public String getCiName() {
		return ciName;
	}

	public void setCiName(String ciName) {
		this.ciName = ciName;
	}

	public Integer getEcrResult() {
		return ecrResult;
	}

	public void setEcrResult(Integer ecrResult) {
		this.ecrResult = ecrResult;
	}

	public Integer getEcrWork() {
		return ecrWork;
	}

	public void setEcrWork(Integer ecrWork) {
		this.ecrWork = ecrWork;
	}

	public Date getEcrDate() {
		return ecrDate;
	}

	public void setEcrDate(Date ecrDate) {
		this.ecrDate = ecrDate;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
